<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link href="../css/base.css" rel="stylesheet">
<link href="../css/bootstrap.min.css" rel="stylesheet">
<link href="../css/main.css" rel="stylesheet">
<script src="../js/jquery-1.9.1.js"></script>
<script src="../js/bootstrap.min.js"></script>
<script type="text/javascript" src="../release/wangEditor.min.js"></script>
<script type="text/javascript" src="../js/template.js"></script>
<script type="text/javascript" src="../js/informationManajs/addNews.js"></script>
<script type="text/javascript" src="../js/informationManajs/jsoup.js"></script>
<!-- <script type="text/javascript" src="../js/pintuer.js?v=2017.8.28"></script>-->
<!--  <script type="text/javascript" src="../js/editor_api.js?v=2017.8.28"></script>-->
	<style>
		.modal {

			z-index: 999999999;

		}
		.modal-backdrop {
			position: fixed;
			top: 0;
			right: 0;
			bottom: 0;
			left: 0;
			z-index: 99999;
			background-color: #000;
		}
	</style>
<title>浙江精神与浙江经验</title>
<script>
	function urlyuanwen() {
		window.parent
				.open('http://www.xinhuanet.com/politics/2018-03/05/c_1122491655.htm')
	}
</script>
</head>
<body>
	<div class="gong-body">
		<div class="Brand">
			<span class="brandhomeTitle"></span>／<span class="brandTitle"></span>
		</div>
		<div class="mB10">
			<span class="pz-ziyuanT">图文消息新建</span>
		</div>
		<div class="an-content bgWhite">
			<div class="clearfix">
				<div class="an-addNewsLeft fl">
					<div class="form-group an-list">
						<div class="clearfix">
							<label>标题：</label> <input type="text" class="input" value=""
								name="title" placeholder="请输入标题" id="title">
						</div>
					</div>


					<div class="form-group an-list">
						<div class="clearfix">
							<label>封面：</label>
							<div class="field fl an-fengmianDiv fontyahei" style="width: 80%">
								<img src="../img/example1.png" class="fengmianImg"> <span>上传图片</span> <input
									name="file" type="file" accept="image/*" id="file">
							</div>
						</div>
					</div>

					<div class="form-group an-list">
						<div class="clearfix">
							<label>摘要：</label>
							<div class="field fl an-fengmianDiv fontyahei" style="width: 87%">
								<textarea id="brief" class="form-control" rows="5"></textarea>
							</div>
						</div>
					</div>

					<div class="form-group an-list">
						<div class="clearfix">
							<label>来源：</label> <input type="text" class="input" value=""
								name="from" placeholder="原文来源" id="from">
						</div>
					</div>

					<div class="form-group an-list">
						<div class="clearfix">
							<label>原文链接：</label>
							<div class="field  fontyahei">
								<input type="text" class="input" value=""
									   name="from" placeholder="原文链接" id="textLink">
								<!--<p id="textLink">xxxxxxxxxxxxxxxxxxxxx</p>-->
							</div>
						</div>
					</div>

					<div class="form-group an-list">
						<div class="clearfix">
							<label>正文：</label>
							<div class="fdield fl" style="width: 100%; padding-left: 70px;">
								<div id="editor">
									<p></p>
								</div>
								<script type="text/javascript">
									var E = window.wangEditor
									var editor = new E('#editor')
									// 或者 var editor = new E( document.getElementById('editor') )
									editor.create()
								</script>
								<!--   <div id="btns" style="margin-top:8px;margin-bottom: 30px"><div>
                                   <button onclick="getContentTxt()" class="am-btn am-btn-default">获得纯文本</button>
                                   <button onclick="getPlainTxt()" class="am-btn am-btn-default">获得带格式的纯文本</button>
                               </div>-->
							</div>
						</div>
					</div>

					<div class="fontyahei an-saveDiv">
						<button class="btn btn-primary" id="save">保存</button>
					</div>
				</div>

				<div class="an-addNewsRight fr">
					<p class="text-center catchNews">新闻抓取</p>
					<select class="form-control" style="width: 75%; margin-left: 12%"
						id="jsoup">
						<option id="1">新华网</option>
						<option id="2">浙江新闻网</option>
						<option id="3">光明网</option>
					</select>
					<div class="an-addNewsRadio" id="selectRadio">
						<input type="radio" name="type" checked>时政新闻 <input
							type="radio" name="type">教育新闻 <input type="radio"
							name="type">健康新闻
					</div>
					<div id="contentList">
						<div class="catchNewsList fontyahei">
							<p class="catchnewsTime">2018-03-05 22:31:12 来源： 新华网</p>
							<p class="catchNewsT">习近平参加内蒙古代表团审议</p>
							<a class="colorBlue" onclick="urlyuanwen(this)">原文链接</a> <span
								class="colorBlue cursorP">抓取</span>
						</div>

						<div class="catchNewsList fontyahei">
							<p class="catchnewsTime">2018-03-05 22:31:12 来源： 新华网</p>
							<p class="catchNewsT">习近平参加内蒙古代表团审议</p>
							<a class="colorBlue" onclick="urlyuanwen(this)">原文链接</a> <span
								class="colorBlue cursorP">抓取</span>
						</div>

						<div class="catchNewsList fontyahei">
							<p class="catchnewsTime">2018-03-05 22:31:12 来源： 新华网</p>
							<p class="catchNewsT">习近平参加内蒙古代表团审议</p>
							<a class="colorBlue" onclick="urlyuanwen(this)">原文链接</a> <span
								class="colorBlue cursorP">抓取</span>
						</div>
					</div>
				</div>

			</div>

		</div>

	</div>
	</div>
	</div>
	<!--<script src="../js/ueditor.config.js"></script>
<script src="../js/ueditor.all.min.js"> </script>
<script type="text/javascript">

    //实例化编辑器
    //建议使用工厂方法getEditor创建和引用编辑器实例，如果在某个闭包下引用该编辑器，直接调用UE.getEditor('editor')就能拿到相关的实例
    var ue = UE.getEditor('editor');


    function getPlainTxt() {
        var arr = [];
        arr.push(UE.getEditor('editor').getPlainTxt());
        alert(arr.join('\n'))
    }

    function getContentTxt() {
        var arr = [];
        arr.push(UE.getEditor('editor').getContentTxt());
        alert(arr.join("\n"));
    }
</script>-->
	<!--新增图文消息加载-->
	<div class="modal fade in" id="loading" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" style="padding-right: 17px;padding-top: 180px">
		<div class="modal-dialog" role="document">
			<div class="modal-content" style="background-color: transparent;background-clip: padding-box; border: 0px solid rgba(0,0,0,.2); -webkit-box-shadow: 0 0px 0px rgba(0,0,0,.5);box-shadow: 0 0px 0px rgba(0,0,0,.5);">
				<div class="modal-body" style="width: 63px;margin: 0 auto;background-color: #fff;border-radius: 10px;">
					<img src="../img/newsLoad.gif">
				</div>
			</div>
		</div>
	</div>

</body>
</html>